﻿using System.Text.Json.Serialization;

namespace Communication.StreamResource;

/// <summary>
///     通讯接口
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum ConfigurationType
{
    None = 0,

    /// <summary>
    ///     串口通讯
    /// </summary>
    Com,

    /// <summary>
    ///     TCP通讯
    /// </summary>
    Tcp
}